package com.example.dameng.service;

import com.example.dameng.entity.*;

import java.util.ArrayList;
import java.util.List;

public interface UserService {
    Integer userLogin(int userCode,String userPasswd);

    Integer adminLogin(int adminCode,String adminPasswd,int adminType);

    Double getConsumptionList(int userCode,String month);
    Double getConsumeNum(int userCode,String month);
    PersonalInfo getPersonalInfo(int userCode);

}
